Labeled and unlabeled data in machine learning